package br.com.fitness.core.infrastructure.util;

import br.com.caelum.stella.validation.CPFValidator;

public class DataUtils {

	/**
	 * Efetua a valida��o do CPF passado sem formata��o
	 * 
	 * @param cpf
	 * @return
	 */
	public static Boolean cpfValidator(final String cpf) {

		try {
			new CPFValidator(false).assertValid(cpf);
			return true;
		} catch (Exception e) {
			e.printStackTrace();
			return false;
		}

	}

}